package com.villaday.idf.model;

import java.util.List;

/**
 * Created by tudou on 2018/10/17.
 */

public class Resources_filtersEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"v":[{"parent":"eV8nvv48JB","name":"深圳·小梅沙万科十七英里","serverTime":1539755657329,"id":"xX476Wy3QZ"},{"parent":"jJr6B7ZrW0","name":"惠州·候鸟别墅区","serverTime":1539755657329,"id":"0gd5vJ5kZl"}],"h":[{"address":"深圳·盐田区","name":"深圳小梅沙·水岸2号6房别墅","currentPrice":480000,"serverTime":1539755659595,"id":"vg8WO05K3b"},{"address":"深圳·盐田区","name":"深圳小梅沙·6房海景别墅*天际1","currentPrice":560000,"serverTime":1539755659595,"id":"poKmXJWDER"},{"address":"惠州·惠东县","name":"惠州全球候鸟·巴厘岛风情2房别墅","currentPrice":168000,"serverTime":1539755659595,"id":"ZeVm6Y57NR"},{"address":"惠州·惠东县","name":"惠州·东方印象风情3房别墅3号","currentPrice":208000,"serverTime":1539755659596,"id":"b9V5xgWzrY"}]}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        private List<VEntity> v;
        private List<HEntity> h;

        public List<VEntity> getV() {
            return v;
        }

        public void setV(List<VEntity> v) {
            this.v = v;
        }

        public List<HEntity> getH() {
            return h;
        }

        public void setH(List<HEntity> h) {
            this.h = h;
        }

        public static class VEntity {
            /**
             * parent : eV8nvv48JB
             * name : 深圳·小梅沙万科十七英里
             * serverTime : 1539755657329
             * id : xX476Wy3QZ
             */

            private String parent;
            private String name;
            private long serverTime;
            private String id;

            public String getParent() {
                return parent;
            }

            public void setParent(String parent) {
                this.parent = parent;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public long getServerTime() {
                return serverTime;
            }

            public void setServerTime(long serverTime) {
                this.serverTime = serverTime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }

        public static class HEntity {
            /**
             * address : 深圳·盐田区
             * name : 深圳小梅沙·水岸2号6房别墅
             * currentPrice : 480000
             * serverTime : 1539755659595
             * id : vg8WO05K3b
             */

            private String address;
            private String name;
            private int currentPrice;
            private long serverTime;
            private String id;

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getCurrentPrice() {
                return currentPrice;
            }

            public void setCurrentPrice(int currentPrice) {
                this.currentPrice = currentPrice;
            }

            public long getServerTime() {
                return serverTime;
            }

            public void setServerTime(long serverTime) {
                this.serverTime = serverTime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }
        }
    }
}
